package com.ckmike.order_service.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * ProductOrder 简要描述
 * <p> TODO:描述该类职责 </p>
 *
 * @author ckmike
 * @version 1.0
 * @date 18-11-7 下午11:50
 * @copyright ckmike
 **/
public class ProductOrder implements Serializable {

    private int id;

    private String productName;

    private String tradeNo;

    private double price;

    private Date createTime;

    private int userId;

    private String userName;

    public void setId(int id) {
        this.id = id;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getId() {
        return id;
    }

    public String getProductName() {
        return productName;
    }

    public String getTradeNo() {
        return tradeNo;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public int getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }
}
